package cn.itcast.bos.service.base.impl;

import cn.itcast.bos.dao.base.TakeTimeRepository;
import domain.base.TakeTime;
import cn.itcast.bos.service.base.TakeTimeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by Administrator on 2017/7/16/016.
 */
@Service
@Transactional
public class TakeTimeServiceImpl implements TakeTimeService {

    @Autowired
    TakeTimeRepository takeTimeRepository;
    @Override
    public Page<TakeTime> findAll(Specification<TakeTime> spec, Pageable pageable) {
        return null;
    }

    @Override
    public void save(TakeTime entity) {

    }


    @Override
    public List<TakeTime> findAll() {
        return takeTimeRepository.findAll();
    }
}
